package com.maimao.upload.config.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "maimao.upload")
public class UploadProperties {
    private String baseUrl;
    private List<String> allowType;


    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public List<String> getAllowType() {
        return allowType;
    }

    public void setAllowType(List<String> allowType) {
        this.allowType = allowType;
    }
}
